
import {computed, onBeforeUnmount, onMounted, reactive, ref,inject} from "vue";
import store from "@/store";
import {ss_getItem, toRouter} from "@/assets/common/js/utils";
export default {
  name:"login",
  setup(props, {attrs, slots}) {
    const loginModule = ref({
      account:'',
      password:'',
      doLogin(){
        store.commit('common/GET_IS_PAGE_BACK',true);
        toRouter('home');
      },
    });
    onMounted(()=>{

    });

    onBeforeUnmount(()=>{

    });
    return {
      loginModule
    };
  }
}

